package com.kymatrix.kycarbon.xsmd.system.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kymatrix.kycarbon.xsmd.system.server.model.entity.ModuleEntity;
import java.util.List;
import java.util.Set;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface ModuleMapper extends BaseMapper<ModuleEntity> {
    List<ModuleEntity> selectByIds(@Param("moduleIds") Set<String> moduleIds);

    List<ModuleEntity> selectByParentId(String parentId);

    List<ModuleEntity> selectAll();
    
}
